package vip.xiaonuo.pm.modular.enterprise.param;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * @desc: 新增客户
 * @projectName: snowy
 * @author: xhs
 * @date: 2025-06-07 周六 20:01
 */
@Getter
@Setter
public class EnterpriseAddParam {

    /**
     * 企业名称
     */
    @Schema(description = "企业名称")
    @NotBlank(message = "企业名称不能为空")
    private String enterpriseName;

    /**
     * 企业类型(01:客户;02:供应商;03:合同发起方)
     */
    @Schema(description = "企业类型")
    @NotBlank(message = "企业类型不能为空")
    private String enterpriseType;

    /**
     * 排序
     */
    @Schema(description = "排序")
    @NotNull(message = "排序不能为空")
    private Integer sortCode;

    /**
     * 企业账套
     */
    @Schema(description = "企业账套")
    private String enterpriseAccount;

    /**
     * 企业地址
     */
    @Schema(description = "企业地址")
    private String address;

    /**
     * 企业联系电话
     */
    @Schema(description = "企业联系电话")
    private String phone;

    /**
     * 企业税号
     */
    @Schema(description = "企业税号")
    private String taxId;

    /**
     * 供应商准入状态(合格;不合格)
     */
    @Schema(description = "供应商准入状态")
    private String enterpriseStatus;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 扩展信息
     */
    @Schema(description = "扩展信息")
    private String extJson;
}
